<?php
defined('IN_TS') or die('Access Denied.'); 
//友情连接插件

function links_html(){
	$arrLink = PluginCacheRead('pubs','links','data.php');
	echo '<div>友情链接：';
	foreach($arrLink as $item){
		echo '<a href="'.$item['linkurl'].'">'.$item['linkname'].'</a> '; 
	}
	echo '</div>';
}

addAction('index_footer','links_html');